package com.ruoyi.charge.auth.entity.res;

import com.ruoyi.charge.domain.Agent;
import com.ruoyi.charge.domain.Store;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.io.Serializable;

@Slf4j
@Data
@Builder
public class AccessTokenResponse implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("accessToken")
    private String accessToken;
    @ApiModelProperty("refreshToken")
    private String refreshToken;
    @ApiModelProperty("expiresIn")
    private Long expiresIn;
    @ApiModelProperty("商户信息")
    private Store store;
    @ApiModelProperty("代理商信息")
    private Agent agent;
    @ApiModelProperty("类型 0 商户 1 代理商")
    private Integer type;

}
